const mediaServer = require('../media-server.js')
const livePushRtmp = require('../live-push-rtmp.js')

// 开启服务器
mediaServer.run()
// 推视频流
livePushRtmp.run({
  videoPath: '../video/demo.mp4',
  livePath: 'rtmp://127.0.0.1:1935/live/stream'
})